public class Employee {
    String employeeNo;
    String address;
    String name;
    int salary;

    public Employee(String employeeNo, String address, String name, int salary) {
        this.employeeNo = employeeNo;
        this.address = address;
        this.name = name;
        this.salary = salary;
    }
    public double computePay(){

        return this.salary/12.0;
    }
    public void mailCheck(){
        System.out.println("把员工"+this.name+"的支票邮寄到"+this.address);
    }
}
